﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExpResultApproval.aspx.cs" Inherits="CURE.Harmful.ExpResultApproval" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>实验申请</title>
    <script type="text/javascript">
        $(function () {
            $.ajax({
                url: "/Handler/ConfigHandler.ashx?action=skilllist",
                type: "post",
                success: function (data) {

                    if (data == "0") {

                        document.getElementById("approvalresult").style.display = "none";
                        document.getElementById("approvalreason").style.display = "none";
                        
                    }

                }
            })
        })

        function radiovalue() {
            var approval = $("#approvalradio[name='approvalradio']:checked").val();
            //var approval = document.getElementsByName("approvalradio").value;
            //alert(approval);
            document.getElementById("approval").value = approval;
        }

        function catechange(obj) {
            var selectcate = document.getElementById("cate").value;
            document.getElementById("badcate").value = selectcate;
        }

    </script>
    <style type="text/css">
        #judgename {
            width: 138px;
        }
        #startbt {
            width: 26px;
        }
        #endbt {
            width: 24px;
        }
    </style>
</head>
<body>
    <div class="pageContent">
        <form id="form1" method="post" action="Handler/QAHandler.ashx" class="pageForm required-validate"
        onsubmit="return validateCallback(this, dialogAjaxDone)">
        <input type="hidden" name="id" value="<%=Mid %>" /> 
        <input type="hidden" name="fid" value="<%=Fid %>" />
        <input type="hidden" name="action" value="<%=Action %>" />
        <input type="hidden" name="badcate" id="badcate" value="<%=Cate %>" />
        <input type="hidden" id="approval" name="approval" value="<%=Skillapprovalvalue %>" />
        <input type="hidden" name="page" value="<%=Page1 %>" />
        <input type="hidden" name="ledgerid" value="<%=Ledgerid %>" />
        <div class="pageFormContent" layouth="56">
            <table class="table" layout="83" width="100%">
              <tr>
                <td>记录编号：</td>
                <td colspan="2"><%=Ledgerid %></td>
                <td>F卡号：</td>
                <td colspan="2"><%=Fid %></td>
              </tr>
              <tr>
                <td>判定名称：</td>
                <td><%=Judgename %></td>
                <td>型号：</td>
                <td><%=Typeno %></td>
                <td>机台别：</td>
                <td><%=Mcno %></td>
              </tr>
              <tr>
                <td>F卡BT号：</td>
                <td>第<%=Startbt %>BT至第<%=Endbt %>BT</td>
                <td>发生数量：</td>
                <td><%=Num %></td>
                <td>F卡生产时间：</td>
                <td><%=Fdate %></td>
              </tr>
              <tr>
                <td>橡胶外观目视描述：</td>
                <td><%=Desc %></td>
                <td colspan="2">材料放置点(注:精炼橡胶判定时必须填写)：</td>
                <td colspan="2" ><%=Rubberput %></td>
              </tr>
              <tr>
                <td>内容：</td>
                <td colspan="5"><%=Cont %></td>
              </tr>
              <tr>
                <td>精炼不良类别</td>
                <td>
                    <%=CURE.Common.StringTool.BLCate(Cate) %>
                 <%#Eval("LEDGERID")%>
                </td>
              </tr>
              <tr>
                <td rowspan="5">生产有无异常</td>
                <td colspan="2">情报信息</td> 
                <td>有/无</td>
                <td colspan="2">异常内容</td>  
              </tr>
              <tr>
                <td colspan="2">设备有无报警异常</td>
                <td><%=Deviceabnormal %></td>
                <td colspan="2"><%=Devicecontent %></td>
              </tr>
              <tr>
                <td colspan="2">来自技能员异常情报</td>
                <td><%=Skillabnormal %></td>
                <td colspan="2"><%=Skillcontent %></td>
              </tr>
              <tr>
                 <td colspan="2">LOT Report有无异常</td>
                 <td><%=Lotabnormal %></td>
                 <td colspan="2"><%=Lotcontent %></td>
              </tr>
              <tr>
                 <td colspan="2">作业录像有无异常</td>
                 <td><%=Workabnormal %></td>
                 <td colspan="2"><%=Workcontent %></td>
              </tr>
              <tr>
                 <td>具体原因说明</td>
                 <td colspan="5"><%=Reason %></td>
              </tr>

                    <tr>
                        <td rowspan="6">
                            遏制范围表</td>
                        <td>
                            项目</td>
                        <td>
                            橡胶</td>
                        <td>
                            部材</td>
                        <td>
                            生胎</td>
                        <td>
                            制品</td>
                    </tr>
                    <tr>
                        <td>
                            型号</td>
                        <td>
                            <%=Rubberno %></td>
                        <td>
                            <%=Elementno %></td>
                        <td>
                            <%=Tireno %></td>
                        <td>
                            <%=Prono %></td>
                    </tr>
                    <tr>
                        <td>
                            批次</td>
                        <td>
                            <%=Rubberlotno %></td>
                        <td>
                            <%=Elementlotno %></td>
                        <td>
                            <%=Tirelotno %></td>
                        <td>
                            <%=Prolotno %></td>
                    </tr>
                    <tr>
                        <td>
                            应保留数量</td>
                        <td>
                            <%=Rubbernum %></td>
                        <td>
                            <%=Elementnum %></td>
                        <td>
                            <%=Tirenum %></td>
                        <td>
                            <%=Pronum %></td>
                    </tr>
                    <tr>
                        <td>
                            实际保留数量</td>
                        <td>
                            <%=Rubberrealnum %></td>
                        <td>
                            <%=Elementrealnum %></td>
                        <td>
                            <%=Tirerealnum %></td>
                        <td>
                            <%=Prorealnum %></td>
                    </tr>
                    <tr>
                        <td>
                            备注</td>
                        <td colspan="4">
                            <%=Remarks %></td>
                    </tr>
                   <tr>
                       <td colspan="6">实验结果</td>
                   </tr>
                <tr>
                    <td>不良类别</td>
                    <td colspan="3">硫变仪</td>
                    <td colspan="3">比重</td>
                </tr>
                <tr>
                    <td  rowspan="2">B,C,D,F,H,I,J,K</td>
                    <td>规格值</td>
                    <td>实测</td>
                    <td>判定</td>
                    <td>规格值</td>
                    <td>实测</td>
                    <td>判定</td>
                </tr>
                <tr>
                    <td><%=Sulspec %></td>
                    <td><%=Sulactual %></td>
                    <td><%=Suljudge %></td>
                    <td><%=Weightspec %></td>
                    <td><%=Weightactual %></td>
                    <td><%=Weightjudge %></td>
                </tr>
                <tr>
                    <td>不良类别</td>
                    <td colspan="5">RPA</td>
                </tr>
                <tr>
                    <td rowspan="2">A,B,C,D,H,I</td>
                    <td>G'规格</td>
                    <td>实测</td>
                    <td>判定</td>
                    <td>TS2.0规格</td>
                    <td>实测</td>
                    <td>判定</td>
                </tr>
                <tr>
                    <td><%=Rpagspec %></td>
                    <td><%=Rpaactual %></td>
                    <td><%=Rpajudge %></td>
                    <td><%=Rpatsspec %></td>
                    <td><%=Rpatsactual %></td>
                    <td><%=Rpatsjudge %></td>
                </tr>
                <tr>
                    <td>不良类别</td>
                    <td colspan="5">BP</td>
                </tr>
                <tr>
                    <td rowspan="2">H,J</td>
                    <td>规格值</td>
                    <td>实测</td>
                    <td>判定</td>
                </tr>
                <tr>
                    <td><%=Bpspec %></td>
                    <td><%=Bpactual %></td>
                    <td><%=Bpjudge %></td>
                </tr>
                <tr>
                    <td>备注</td>
                    <td colspan="5"><%=Resultremarks %></td>
                </tr>
                <tr>
                    <td>实验结果审核通过原因:</td>
                    <td colspan="5"><%=Approvalreason %></td>
                </tr>
                <tr id="approvalresult" style="display:block;">
                    <td>审核结果：</td>
                    <td>
                        <input type="radio" id="approvalradio" name="approvalradio" value="0" onchange="radiovalue()" checked="checked" /> 通过
                        <input type="radio" id="approvalradio" name="approvalradio" value="1" onchange="radiovalue()" /> 未通过
                    </td>
                </tr>
                <tr id="approvalreason" style="display:block;">
                    <td>原因:</td>
                    <td colspan="5"><input type="text" name="appreason" class="icm_txt" id="appreason"  value="<%=Skillapproval %>" style="width:100%;" /></td>
                </tr>
            </table>
           
            <%--<p>
                <label>
                    原因：</label>
                <input type="text" name="txtReason" size="30" id="txtreason"  
                    value="<%=Reason %>" />
            </p>--%>
        </div>
                
<%--        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">
                                提交</button></div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="reset" class="close">
                                取消</button></div>
                    </div>
                </li>
            </ul>
        </div>--%>
        </form>
    </div>
</body>
</html>
